// 环境变量封装

const env = import.meta.env.MODE || "prod";

const EnvConfig = {
  dev: {
    baseApi: "/",
    mockApi:
      "https://www.fastmock.site/mock/41b7435fcefea2117cd0a83815fbcb89/api",
  },
  test: {
    baseApi: "//test.futurefe.com/api",
    mockApi:
      "https://www.fastmock.site/mock/41b7435fcefea2117cd0a83815fbcb89/api",
  },
  prod: {
    baseApi: "//futurefe.com/api",
    mockApi:
      "https://www.fastmock.site/mock/41b7435fcefea2117cd0a83815fbcb89/api",
  },
};

export default {
  env: "dev",
  mock: true,
  namespace: "f_manage_v1.0",
  ...EnvConfig[env],
};
